home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
alpha
/
userfs
/
userfs-0.9-0
/
userfs-0.9-0.9.1.diff
Wrap
Text File
|
1995-08-13
|
3KB
|
104 lines
Index: userfs/kernel/src/file.c
diff -u userfs/kernel/src/file.c:1.18 userfs/kernel/src/file.c:1.19
--- userfs/kernel/src/file.c:1.18 Wed Jul 26 04:09:15 1995
+++ userfs/kernel/src/file.c Sat Aug 12 01:34:24 1995
@@ -4,6 +4,10 @@
* Jeremy Fitzhardinge <jeremy@softway.oz.au>, 1993-1995
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#endif /* MODULE */
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -94,7 +98,7 @@
}
static int userfs_write(struct inode *inode, struct file *fl,
- char *buf, int size)
+ const char *buf, int size)
{
up_preamble pre;
upp_repl repl;
Index: userfs/kernel/src/inode.c
diff -u userfs/kernel/src/inode.c:1.9 userfs/kernel/src/inode.c:1.10
--- userfs/kernel/src/inode.c:1.9 Sun Jul 16 01:59:12 1995
+++ userfs/kernel/src/inode.c Sat Aug 12 01:34:24 1995
@@ -4,6 +4,10 @@
* Jeremy Fitzhardinge <jeremy@sw.oz.au>, 1993
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#endif /* MODULE */
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
Index: userfs/kernel/src/module.c
diff -u userfs/kernel/src/module.c:1.6 userfs/kernel/src/module.c:1.7
--- userfs/kernel/src/module.c:1.6 Sun Jul 16 01:59:12 1995
+++ userfs/kernel/src/module.c Sat Aug 12 01:34:25 1995
@@ -2,14 +2,14 @@
* Handling for loadable module
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/userfs_types.h>
#include <linux/userfs_fs_sb.h>
-#ifdef MODULE
-#include <linux/module.h>
#include <linux/version.h>
static char kernel_version[] = UTS_RELEASE;
Index: userfs/kernel/src/super.c
diff -u userfs/kernel/src/super.c:1.19 userfs/kernel/src/super.c:1.20
--- userfs/kernel/src/super.c:1.19 Wed Jul 26 01:54:56 1995
+++ userfs/kernel/src/super.c Sat Aug 12 01:34:26 1995
@@ -4,6 +4,10 @@
* Jeremy Fitzhardinge <jeremy@softway.oz.au>, May 1993
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#endif /* MODULE */
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
Index: userfs/kernel/src/uio.c
diff -u userfs/kernel/src/uio.c:1.6 userfs/kernel/src/uio.c:1.7
--- userfs/kernel/src/uio.c:1.6 Sun Jul 16 01:59:13 1995
+++ userfs/kernel/src/uio.c Sat Aug 12 01:34:26 1995
@@ -4,6 +4,10 @@
* Jeremy Fitzhardinge <jeremy@softway.oz.au>, May 1993
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#endif /* MODULE */
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/errno.h>
Index: userfs/kernel/src/userfs_types.c
diff -u userfs/kernel/src/userfs_types.c:1.1 userfs/kernel/src/userfs_types.c:1.2
--- userfs/kernel/src/userfs_types.c:1.1 Thu Apr 7 21:10:15 1994
+++ userfs/kernel/src/userfs_types.c Sat Aug 12 01:52:34 1995
@@ -1,4 +1,8 @@
/*
* Just include the generated userfs_types.c
*/
+#ifdef MODULE
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#endif /* MODULE */
#include <linux/userfs_types.c>